package com.andy.plugin

import org.gradle.api.Plugin
import org.gradle.api.Project

import java.time.LocalDateTime

/**
 *
 * @time: 2021/7/27 七月 17:09
 * @author: xiangdan/xiangdan@dtxytech.com 
 */
class MyGroovyPlugin02 implements Plugin<Project>{


    @Override
    void apply(Project project) {
        def task = project.tasks.create('MyGroovyPlugin02');
        task.doLast {
            println '这是我的第2个groovy gradle插件'+ LocalDateTime.now()
        }
    }
}
